x86/domctl: don't ignore errors from vmce_restore_vcpu()
authorJan Beulich <jbeulich@suse.com>
Tue, 4 Feb 2014 08:22:12 +0000 (09:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Feb 2014 08:22:12 +0000 (09:22 +0100)
commitaf172d655c3900822d1f710ac13ee38ee9d482d2
tree4475376fb0fad94e309e75477b1f38a9673b936d
parent04d31ea1b1caeac7f77b5d18910761abd540545f
x86/domctl: don't ignore errors from vmce_restore_vcpu()

What started out as a simple cleanup patch (eliminating the redundant
check of domctl->cmd before setting "copyback", which as a result
turned the "ext_vcpucontext_out" label useless) revealed a bug in the
handling of XEN_DOMCTL_set_ext_vcpucontext.

Fix this, retaining the cleanup, and at once dropping a stale comment
and an accompanying formatting issue.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/domctl.c